/*
 * Copyright (C) 2004, Velocityme Partnership
 * NodeValueActionForm.java
 *
 * Created on 01 September 2004, 08:30
 */

package com.velocityme.www.actionforms.nodeactionforms;

import com.velocityme.entity.Node;
import org.apache.struts.action.*;

/**
 *
 * @author  Robert
 */
public class NodeActionForm extends ActionForm {
    
    private String m_name = new String();
    private String m_description = new String();
    
    public void extractNode(Node node) {
        node.setName(m_name);
        node.setDescription(m_description);
    }
    
    public String getName() {
        return m_name;
    }
    
    public void setName(String name) {
        m_name = name;
    }
    
    public String getDescription() {
        return m_description;
    }
    
    public void setDescription(String description) {
        m_description = description;
    }
    
}
